:local(.Dropdown) {
  position: relative;

  .dropdown__button {
    display: flex;

    flex-direction: row;

    align-items: center;

    padding: 3px 12px;
    
    outline: none;
    
    border: solid 1px var(--color-grey-225-10-75);
    border-radius: 22px;
    
    background-color: var(--color-white);

    white-space: nowrap;
    color: var(--color-grey-225-10-15);

    font-size: 12px;
    font-weight: bold;
  }

  .dropdown__button--open {
    border-color: var(--color-blue-205-100-45);

    background-color: var(--color-blue-205-100-50);

    color: var(--color-white);
  }

  .dropdown__button-caret {
    display: flex;

    align-items: center;

    justify-content: center;

    margin-left: 10px;
  }

  .dropdown__menu {
    position: absolute;
    top: 30px;
    right: 0;

    margin: 0;

    border: solid 1px var(--color-grey-225-10-75);
    border-radius: 3px;

    box-shadow: 0 1px 4px 0 var(--color-black-opacity-10);

    background-color: var(--color-white);

    padding: 11px;

    &:before {
      content: ' ';

      position: absolute;
      right: 12px;
      bottom: 100%;

      border-style: solid;
      border-width: 5px;
      border-bottom-color: var(--color-grey-225-10-75);

      color: transparent;

      pointer-events: none;
    }

    &:after {
      content: ' ';

      position: absolute;
      right: 13px;
      bottom: 100%;

      border: solid;
      border-width: 4px;
      border-bottom-color: var(--color-white);

      color: transparent;

      pointer-events: none;
    }
  }

  .dropdown__menu-item {
    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;

    outline: none;

    border: solid 1px var(--color-grey-225-10-75);
    border-radius: 22px;

    background-color: var(--color-grey-225-10-85);

    padding: 2px 2px 2px 8px;

    list-style: none;

    color: var(--color-grey-225-10-55);

    font-size: 12px;
    font-weight: bold;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .dropdown__menu-item--selected {
    border-color: var(--color-blue-205-100-45);

    background-color: var(--color-blue-205-100-50);

    color: var(--color-white);

    .dropdown__menu-item-count {
      border-color: var(--color-white);

      background-color: var(--color-white);

      color: var(--color-blue-205-100-50);
    }
  }

  .dropdown__menu-item-name {
    white-space: nowrap;
  }

  .dropdown__menu-item-count {
    margin-left: 10px;

    border: solid 1px var(--color-grey-225-10-75);
    border-radius: 22px;

    background-color: var(--color-grey-225-10-55);

    padding: 1px;

    min-width: 20px;

    color: var(--color-white);

    text-align: center;

    font-size: 11px;
  }

  .dropdown__menu-item--clear {
    border: none;

    background: none;

    padding: 0 0 0 8px;
  }

  .dropdown__menu-item--clear[disabled] {
    color: var(--color-grey-225-10-75);
  }
}